﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace WcfMasterSlaveElectionService
{
    /// <summary>
    /// Interal class for starting new thread for executing
    /// </summary>
    internal class ThreadInfo
    {
        public AutoResetEvent AutoReset { get; set; }
        public ServiceEndpoint Client { get; set; }

        public ThreadInfo(ServiceEndpoint client, AutoResetEvent autoReset)
        {
            Client = client;
            AutoReset = autoReset;
        }
    }
}
